{strip} {assign var=c_g value=0}
{if !$categ || $categ === 'users'}
{$this->lang['Bookmark_users']}
{else if $categ === 'photos'}
{$this->lang['Bookmark_photos']}
    {foreach $this->getBookmarkedItems('photos') as $res}
  • {if $res.clubid > 0} {else} {/if}
    {if $res.clubid > 0} {assign var=com_details value=$this->getCommunityDetails($res.clubid)}
    {$this->lang.photo_by} {$com_details.name}
    {$this->lang['picture_bookmarked_from_group']}
    {else}
    {$this->lang.photo_by} {$res.powner_fn}
    {/if}
    {$this->lang.added} {$this->time_elapsed($res.badded)}
  • {foreachelse}

    {$this->lang['no_bookmarked_photos']}

    {/foreach}
{else if $categ === 'posts'}
{$this->lang['Bookmark_posts']}
    {foreach $this->getBookmarkedItems('posts') as $res}
  • View post
    {$this->lang.post_by} {$res.ufullname}
    {$this->lang.added} {$this->time_elapsed($res.badded)}
  • {foreachelse}

    {$this->lang['no_bookmarked_posts']}

    {/foreach}
{/if}
{/strip}